package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;

import java.util.Date;

/**
 * 用户信息对象 jk_user
 *
 * @author ruoyi
 * @date 2023-08-30
 */
public class User
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 手机号 */
    @Excel(name = "手机号")
    private String userPhone;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String userName;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String userNick;

    /** 用户性别 */
    @Excel(name = "用户性别")
    private Integer userSex;

    /** 用户年龄 */
    @Excel(name = "用户年龄")
    private Integer userAge;

    /** 用户头像 */
    private String userPhoto;

    /** open_id */
    private String openId;

    /** 用户状态 */
    private Integer status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserPhone(String userPhone)
    {
        this.userPhone = userPhone;
    }

    public String getUserPhone()
    {
        return userPhone;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setUserNick(String userNick)
    {
        this.userNick = userNick;
    }

    public String getUserNick()
    {
        return userNick;
    }
    public void setUserSex(Integer userSex)
    {
        this.userSex = userSex;
    }

    public Integer getUserSex()
    {
        return userSex;
    }
    public void setUserAge(Integer userAge)
    {
        this.userAge = userAge;
    }

    public Integer getUserAge()
    {
        return userAge;
    }
    public void setUserPhoto(String userPhoto)
    {
        this.userPhoto = userPhoto;
    }

    public String getUserPhoto()
    {
        return userPhoto;
    }
    public void setOpenId(String openId)
    {
        this.openId = openId;
    }

    public String getOpenId()
    {
        return openId;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
